<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <title><?php echo $this->pageTitle; ?> 爱血拼</title>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <!-- Bootstrap -->
    <link href="/css/bootstrap.min.css" rel="stylesheet">
    <style>
/*keep navbar at top*/
body {
  min-height: 2000px;
  padding-top: 70px;
}

    </style>
    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
      <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
    <![endif]-->
  </head>
  <body>
    <div class="navbar navbar-inverse navbar-fixed-top">
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand hidden-sm" href="/">Bootstrap中文网</a>
        </div>
        <div class="navbar-collapse collapse">
          <ul class="nav navbar-nav">
            <li><a href="/">首页</a></li>
            <li><a href="/product/post" target="_blank">我要提交</a></li>
            <li><a href="/about.html">关于</a></li>
          </ul>
        </div>
      </div>
    </div>
    <div class="container">
      <div class="row">
        <div class="col-md-9 jumbotron"><?php echo $content;?></div>
        <div class="col-md-3">
          <dl>
            <dt>右侧标题</dt>
            <dd>右侧内容，内容填充</dd>
            <dt>右侧标题2</dt>
            <dd>blah,blah.........<br /> and so on....</dd>
          </dl>
        </div>
      </div>
    </div>

    <script src="/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript">
  if (typeof jQuery == 'undefined') {
      document.write(unescape("%3Cscript src='http://cdn.bootcss.com/jquery/1.7.2/jquery.min.js' type='text/javascript'%3E%3C/script%3E")); 
    }
</script>
    <script src="/js/bootstrap.min.js"></script>
<?php if(!empty($this->js)):?>
  <?php foreach($this->js as $file):?>
  <script src="/js/<?php echo $file;?>.js"></script>
  <?php endforeach;?>
<?php endif;?>
  </body>
</html>